<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ubuntu18-04虚拟机搭建HTCondor集群（三）安装HTCondor | Welcom to YLXY's blog.</title><meta name="keywords" content="ubuntu,ssh,免密登录"><meta name="author" content="YLXY,1205695200@qq.com"><meta name="copyright" content="YLXY"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="准备阶段 有用于搭建的多个虚拟机，且相互之间能ping通 虚拟机均能访问互联网  安装curlapt-get update &amp;&amp; apt-get install -y curl 根据角色安装htcondor注意将命令中的$htcondor_password换成登录密码（三个都要一样），$central_manager_name换成将要设立中央节点的虚拟机ip  配置静态ip就是为了">
<meta property="og:type" content="article">
<meta property="og:title" content="ubuntu18-04虚拟机搭建HTCondor集群（三）安装HTCondor">
<meta property="og:url" content="https://ylxy123.gitee.io/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%89%EF%BC%89%E5%AE%89%E8%A3%85HTCondor/index.html">
<meta property="og:site_name" content="Welcom to YLXY&#39;s blog.">
<meta property="og:description" content="准备阶段 有用于搭建的多个虚拟机，且相互之间能ping通 虚拟机均能访问互联网  安装curlapt-get update &amp;&amp; apt-get install -y curl 根据角色安装htcondor注意将命令中的$htcondor_password换成登录密码（三个都要一样），$central_manager_name换成将要设立中央节点的虚拟机ip  配置静态ip就是为了">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://ylxy123.gitee.io/ylxy123/img/htcondor.png">
<meta property="article:published_time" content="2021-05-02T06:02:52.000Z">
<meta property="article:modified_time" content="2021-05-05T00:49:17.183Z">
<meta property="article:author" content="YLXY">
<meta property="article:tag" content="ubuntu">
<meta property="article:tag" content="ssh">
<meta property="article:tag" content="免密登录">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://ylxy123.gitee.io/ylxy123/img/htcondor.png"><link rel="shortcut icon" href="/ylxy123/img/favicon.png"><link rel="canonical" href="https://ylxy123.gitee.io/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%89%EF%BC%89%E5%AE%89%E8%A3%85HTCondor/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="stylesheet" href="/ylxy123/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/ylxy123/',
  algolia: undefined,
  localSearch: undefined,
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: true,
    post: true
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":50,"languages":{"author":"作者: YLXY","link":"链接: ","source":"来源: Welcom to YLXY's blog.","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"bottom-left"},
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2021-05-05 08:49:17'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    })(window)</script><meta name="generator" content="Hexo 5.4.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="/ylxy123/img/logo_icon.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/ylxy123/archives/"><div class="headline">文章</div><div class="length-num">10</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/ylxy123/tags/"><div class="headline">标签</div><div class="length-num">22</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/ylxy123/categories/"><div class="headline">分类</div><div class="length-num">6</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/ylxy123/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/about/"><i class="fa-fw fas fa-heart"></i><span> 关于我</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('/ylxy123/img/htcondor.png')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/ylxy123/">Welcom to YLXY's blog.</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/ylxy123/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/ylxy123/about/"><i class="fa-fw fas fa-heart"></i><span> 关于我</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">ubuntu18-04虚拟机搭建HTCondor集群（三）安装HTCondor</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-05-02T06:02:52.000Z" title="发表于 2021-05-02 14:02:52">2021-05-02</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-05-05T00:49:17.183Z" title="更新于 2021-05-05 08:49:17">2021-05-05</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/ylxy123/categories/HTCondor%E9%9B%86%E7%BE%A4/">HTCondor集群</a></span></div><div class="meta-secondline"></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h1 id="准备阶段"><a href="#准备阶段" class="headerlink" title="准备阶段"></a>准备阶段</h1><ul>
<li>有用于搭建的多个虚拟机，且相互之间能ping通</li>
<li>虚拟机均能访问互联网</li>
</ul>
<h1 id="安装curl"><a href="#安装curl" class="headerlink" title="安装curl"></a>安装<code>curl</code></h1><p><code>apt-get update &amp;&amp; apt-get install -y curl</code></p>
<h1 id="根据角色安装htcondor"><a href="#根据角色安装htcondor" class="headerlink" title="根据角色安装htcondor"></a>根据角色安装htcondor</h1><p>注意将命令中的<code>$htcondor_password</code>换成登录密码（三个都要一样），<code>$central_manager_name</code>换成将要设立中央节点的虚拟机ip</p>
<blockquote>
<p>配置静态ip就是为了这一步</p>
</blockquote>
<p><code>Central Manager</code>中心节点</p>
<p><code>sudo curl -fsSL https://get.htcondor.com | GET_HTCONDOR_PASSWORD=$htcondor_password /bin/bash -s -- --no-dry-run --central-manager $central_manager_name</code></p>
<p><code>Submit</code>提交节点</p>
<p><code>sudo curl -fsSL https://get.htcondor.com | GET_HTCONDOR_PASSWORD=$htcondor_password /bin/bash -s -- --no-dry-run --submit $central_manager_name</code></p>
<p><code>Execute</code>执行节点</p>
<p><code>sudo curl -fsSL https://get.htcondor.com | GET_HTCONDOR_PASSWORD=$htcondor_password /bin/bash -s -- --no-dry-run --execute $central_manager_name</code></p>
<h1 id="安装成功之后开启服务"><a href="#安装成功之后开启服务" class="headerlink" title="安装成功之后开启服务"></a>安装成功之后开启服务</h1><p><code>sh -c &#39;systemctl enable condor&#39;</code></p>
<p><code>sh -c &#39;systemctl start condor&#39;</code></p>
<p>关闭服务</p>
<p><code>sh -c &#39;systemctl stop condor&#39;</code></p>
<blockquote>
<p>可以用<code>pstree | grep condor</code>命令查看condor服务是否启动</p>
</blockquote>
<h1 id="查看是否安装成功和节点通信是否正常"><a href="#查看是否安装成功和节点通信是否正常" class="headerlink" title="查看是否安装成功和节点通信是否正常"></a>查看是否安装成功和节点通信是否正常</h1><p>安装完毕并且正常开启服务之后，提交机器上登录的用户应该能够通过<code>condor_status</code>指令看到池中的执行机器：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">root@ylxy2:/home/ylxy2$ condor_status</span><br><span class="line">Name               OpSys      Arch   State     Activity LoadAv Mem   Actvt</span><br><span class="line"></span><br><span class="line">ylxy3              LINUX      X86_64 Claimed   Busy      0.000 1970  0+00:</span><br><span class="line"></span><br><span class="line">               Total Owner Claimed Unclaimed Matched Preempting Backfill  Drain</span><br><span class="line"></span><br><span class="line">  X86_64/LINUX     1     0       1         0       0          0        0      0</span><br><span class="line"></span><br><span class="line">         Total     1     0       1         0       0          0        0      0</span><br></pre></td></tr></table></figure>

<h1 id="自定义角色功能"><a href="#自定义角色功能" class="headerlink" title="自定义角色功能"></a>自定义角色功能</h1><p>我们可以通过如下配置<code>condor_config</code>来自定义各个节点的功能：</p>
<p><code>sudo vi /etc/condor/condor_config</code></p>
<p>根据不同的角色，请分别在主节点和从属节点上向<code>condor_config</code>里面添加如下信息：</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">DAEMON_LIST = COLLECTOR MASTER NEGOTIATOR SCHEDD STARTD # 中央节点</span><br><span class="line">DAEMON_LIST = MASTER SCHEDD # 提交节点</span><br><span class="line">DAEMON_LIST = MASTER STARTD # 执行节点</span><br></pre></td></tr></table></figure>

<blockquote>
<p><code>DAEMON_LIST</code>是分配具体功能的，推荐如下分配：</p>
<p>中央管理节点（可提交可执行，一个pool中最多存在一个中央管理节点）<br>DAEMON_LIST = COLLECTOR, MASTER, NEGOTIATOR, SCHEDD, STARTD</p>
<p>中央管理节点（只提交不执行）<br>DAEMON_LIST = COLLECTOR, MASTER, NEGOTIATOR, SCHEDD</p>
<p>提交与执行节点<br>DAEMON_LIST = MASTER, SCHEDD, STARTD</p>
<p>提交节点<br>DAEMON_LIST = MASTER, SCHEDD</p>
<p>执行节点<br>DAEMON_LIST = MASTER, STARTD</p>
</blockquote>
<p>编辑完成后输入<code>:wq</code>保存退出，然后通过<code>condor_reconfig</code>更新配置：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">ylxy2@ylxy2:~$ condor_reconfig</span><br><span class="line">Sent &quot;Reconfig&quot; command to local master</span><br><span class="line">ylxy2@ylxy2:~$</span><br></pre></td></tr></table></figure>

<p>更新之后，我们通过<code>condor_status</code>命令可以看到我们的pool中多了新的执行节点：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line">ylxy2@ylxy2:~$ condor_status</span><br><span class="line">Name         OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime</span><br><span class="line"></span><br><span class="line">ylxy1        LINUX      X86_64 Claimed   Busy      0.000 1970  0+00:25:01</span><br><span class="line">ylxy2        LINUX      X86_64 Claimed   Busy      0.000 1970  0+00:25:45</span><br><span class="line">ylxy3        LINUX      X86_64 Claimed   Busy      0.000 1970  0+00:24:48</span><br><span class="line"></span><br><span class="line">               Total Owner Claimed Unclaimed Matched Preempting Backfill  Drain</span><br><span class="line"></span><br><span class="line">  X86_64/LINUX     3     0       3         0       0          0        0      0</span><br><span class="line"></span><br><span class="line">         Total     3     0       3         0       0          0        0      0</span><br><span class="line">ylxy2@ylxy2:~$</span><br></pre></td></tr></table></figure>

<p>至此一个集群就搭建完啦，接下来我们就可以跑跑测试代码了。</p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:1205695200@qq.com">YLXY</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://ylxy123.gitee.io/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%89%EF%BC%89%E5%AE%89%E8%A3%85HTCondor/">https://ylxy123.gitee.io/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%89%EF%BC%89%E5%AE%89%E8%A3%85HTCondor/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://ylxy123.gitee.io/ylxy123" target="_blank">Welcom to YLXY's blog.</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/ylxy123/tags/ubuntu/">ubuntu</a><a class="post-meta__tags" href="/ylxy123/tags/ssh/">ssh</a><a class="post-meta__tags" href="/ylxy123/tags/%E5%85%8D%E5%AF%86%E7%99%BB%E5%BD%95/">免密登录</a></div><div class="post_share"><div class="social-share" data-image="/ylxy123/img/htcondor.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%BA%8C%EF%BC%89%E8%AE%BE%E7%BD%AE%E9%9D%99%E6%80%81ip/"><img class="prev-cover" src="/ylxy123/img/vmware.jpg" onerror="onerror=null;src='/ylxy123/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip</div></div></a></div><div class="next-post pull-right"><a href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E5%9B%9B%EF%BC%89%E8%BF%90%E8%A1%8C%E6%B5%8B%E8%AF%95%E7%A8%8B%E5%BA%8F/"><img class="next-cover" src="/ylxy123/img/10.jpg" onerror="onerror=null;src='/ylxy123/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">ubuntu18-04虚拟机搭建HTCondor集群（四）运行测试程序</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span> 相关推荐</span></div><div class="relatedPosts-list"><div><a href="/ylxy123/2021/05/02/ubuntu18-04虚拟机搭建HTCondor集群（一）安装server/" title="ubuntu18.04虚拟机搭建HTCondor集群（一）安装server"><img class="cover" src="/ylxy123/img/2.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-05-02</div><div class="title">ubuntu18.04虚拟机搭建HTCondor集群（一）安装server</div></div></a></div><div><a href="/ylxy123/2021/05/02/ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip/" title="ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip"><img class="cover" src="/ylxy123/img/vmware.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-05-02</div><div class="title">ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip</div></div></a></div><div><a href="/ylxy123/2021/05/01/用UltraISO制作Ubuntu启动盘/" title="用UltraISO制作Ubuntu启动盘"><img class="cover" src="/ylxy123/img/6.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-05-01</div><div class="title">用UltraISO制作Ubuntu启动盘</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div><div id="comment-switch"><span class="first-comment">G</span><span class="switch-btn"></span><span class="second-comment">i</span></div></div><div class="comment-wrap"><div></div><div></div><div></div><div></div><div></div><div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" src="/ylxy123/img/logo_icon.png" onerror="this.onerror=null;this.src='/ylxy123/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">YLXY</div><div class="author-info__description">自信人生二百年，会当水击三千里</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/ylxy123/archives/"><div class="headline">文章</div><div class="length-num">10</div></a></div><div class="card-info-data-item is-center"><a href="/ylxy123/tags/"><div class="headline">标签</div><div class="length-num">22</div></a></div><div class="card-info-data-item is-center"><a href="/ylxy123/categories/"><div class="headline">分类</div><div class="length-num">6</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/ylxy123"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/ylxy123" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:1205695200@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">This is my Blog！欢迎大家来本站踩踩哦~</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%87%86%E5%A4%87%E9%98%B6%E6%AE%B5"><span class="toc-number">1.</span> <span class="toc-text">准备阶段</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%AE%89%E8%A3%85curl"><span class="toc-number">2.</span> <span class="toc-text">安装curl</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%A0%B9%E6%8D%AE%E8%A7%92%E8%89%B2%E5%AE%89%E8%A3%85htcondor"><span class="toc-number">3.</span> <span class="toc-text">根据角色安装htcondor</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F%E4%B9%8B%E5%90%8E%E5%BC%80%E5%90%AF%E6%9C%8D%E5%8A%A1"><span class="toc-number">4.</span> <span class="toc-text">安装成功之后开启服务</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%9F%A5%E7%9C%8B%E6%98%AF%E5%90%A6%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F%E5%92%8C%E8%8A%82%E7%82%B9%E9%80%9A%E4%BF%A1%E6%98%AF%E5%90%A6%E6%AD%A3%E5%B8%B8"><span class="toc-number">5.</span> <span class="toc-text">查看是否安装成功和节点通信是否正常</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%92%E8%89%B2%E5%8A%9F%E8%83%BD"><span class="toc-number">6.</span> <span class="toc-text">自定义角色功能</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E5%9B%9B%EF%BC%89%E8%BF%90%E8%A1%8C%E6%B5%8B%E8%AF%95%E7%A8%8B%E5%BA%8F/" title="ubuntu18-04虚拟机搭建HTCondor集群（四）运行测试程序"><img src="/ylxy123/img/10.jpg" onerror="this.onerror=null;this.src='/ylxy123/img/404.jpg'" alt="ubuntu18-04虚拟机搭建HTCondor集群（四）运行测试程序"/></a><div class="content"><a class="title" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E5%9B%9B%EF%BC%89%E8%BF%90%E8%A1%8C%E6%B5%8B%E8%AF%95%E7%A8%8B%E5%BA%8F/" title="ubuntu18-04虚拟机搭建HTCondor集群（四）运行测试程序">ubuntu18-04虚拟机搭建HTCondor集群（四）运行测试程序</a><time datetime="2021-05-02T07:15:14.000Z" title="发表于 2021-05-02 15:15:14">2021-05-02</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%89%EF%BC%89%E5%AE%89%E8%A3%85HTCondor/" title="ubuntu18-04虚拟机搭建HTCondor集群（三）安装HTCondor"><img src="/ylxy123/img/htcondor.png" onerror="this.onerror=null;this.src='/ylxy123/img/404.jpg'" alt="ubuntu18-04虚拟机搭建HTCondor集群（三）安装HTCondor"/></a><div class="content"><a class="title" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%89%EF%BC%89%E5%AE%89%E8%A3%85HTCondor/" title="ubuntu18-04虚拟机搭建HTCondor集群（三）安装HTCondor">ubuntu18-04虚拟机搭建HTCondor集群（三）安装HTCondor</a><time datetime="2021-05-02T06:02:52.000Z" title="发表于 2021-05-02 14:02:52">2021-05-02</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%BA%8C%EF%BC%89%E8%AE%BE%E7%BD%AE%E9%9D%99%E6%80%81ip/" title="ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip"><img src="/ylxy123/img/vmware.jpg" onerror="this.onerror=null;this.src='/ylxy123/img/404.jpg'" alt="ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip"/></a><div class="content"><a class="title" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%BA%8C%EF%BC%89%E8%AE%BE%E7%BD%AE%E9%9D%99%E6%80%81ip/" title="ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip">ubuntu18-04虚拟机搭建HTCondor集群（二）设置静态ip</a><time datetime="2021-05-01T18:10:17.000Z" title="发表于 2021-05-02 02:10:17">2021-05-02</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%80%EF%BC%89%E5%AE%89%E8%A3%85server/" title="ubuntu18.04虚拟机搭建HTCondor集群（一）安装server"><img src="/ylxy123/img/2.jpg" onerror="this.onerror=null;this.src='/ylxy123/img/404.jpg'" alt="ubuntu18.04虚拟机搭建HTCondor集群（一）安装server"/></a><div class="content"><a class="title" href="/ylxy123/2021/05/02/ubuntu18-04%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90%AD%E5%BB%BAHTCondor%E9%9B%86%E7%BE%A4%EF%BC%88%E4%B8%80%EF%BC%89%E5%AE%89%E8%A3%85server/" title="ubuntu18.04虚拟机搭建HTCondor集群（一）安装server">ubuntu18.04虚拟机搭建HTCondor集群（一）安装server</a><time datetime="2021-05-01T16:36:06.000Z" title="发表于 2021-05-02 00:36:06">2021-05-02</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/ylxy123/2021/05/01/%E7%94%A8UltraISO%E5%88%B6%E4%BD%9CUbuntu%E5%90%AF%E5%8A%A8%E7%9B%98/" title="用UltraISO制作Ubuntu启动盘"><img src="/ylxy123/img/6.jpg" onerror="this.onerror=null;this.src='/ylxy123/img/404.jpg'" alt="用UltraISO制作Ubuntu启动盘"/></a><div class="content"><a class="title" href="/ylxy123/2021/05/01/%E7%94%A8UltraISO%E5%88%B6%E4%BD%9CUbuntu%E5%90%AF%E5%8A%A8%E7%9B%98/" title="用UltraISO制作Ubuntu启动盘">用UltraISO制作Ubuntu启动盘</a><time datetime="2021-05-01T15:18:35.000Z" title="发表于 2021-05-01 23:18:35">2021-05-01</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('/ylxy123/img/htcondor.png')"><div id="footer-wrap"><div class="copyright">&copy;2021 By YLXY</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">我已经到底啦(*^▽^*)</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">簡</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/ylxy123/js/utils.js"></script><script src="/ylxy123/js/main.js"></script><script src="/ylxy123/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"></div><script defer="defer" id="ribbon" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-ribbon.min.js" size="150" alpha="0.6" zIndex="-1" mobile="false" data-click="true"></script></div></body></html>